<?php

$url = "//".$_SERVER['SERVER_NAME']."/houtai/";
$path = $_SERVER['REQUEST_URI'];

?>
<style>

    h1,h3{
        margin: 0;
        padding: 0;
    }
    .btn-info {
        color: #fff;
        background-color: #05050599;
        border-color: #05050599;
    }
</style>
<div class="all2">
    <ul>
        <li><a href="/houtai/php/index.php" <?php if(strrpos($path,"index")){echo "class=\"active\"";}?> ><img src="<?php echo $url;?>/img/主页.png">&nbsp;&nbsp;前端主页展示</a></li>
        <li><a href="/houtai/php/order/dingdan.php" <?php if(strrpos($path,"dingdan")){echo "class=\"active\"";}?> ><img src="<?php echo $url;?>img/订单.png">&nbsp;&nbsp;订单管理</a></li>
        <li><a href="/houtai/php/consult.php" <?php if(strrpos($path,"consult")){echo "class=\"active\"";}?> ><img src="<?php echo $url;?>img/留言.png">&nbsp;&nbsp;留言管理</a></li>
        <li><a href="/houtai/php/goods/goods.php" <?php if(strrpos($path,"goods")){echo "class=\"active\"";}?> ><img src="<?php echo $url;?>img/菜品.png">&nbsp;&nbsp;菜品管理</a></li>
        <li><a href="/houtai/php/classify/classlfy.php" <?php if(strrpos($path,"classify")){echo "class=\"active\"";}?> ><img src="<?php echo $url;?>img/菜品.png">菜品分类</a></li>

        <li><a href="/houtai/php/user/user.php" <?php if(strrpos($path,"user")){echo "class=\"active\"";}?>  ><img src="<?php echo $url;?>img/账户.png">&nbsp;&nbsp;账户管理</a></li>


        <li><a href="javascript:confirmAct()"><img src="<?php echo $url?>/img/退出.png">&nbsp;&nbsp;退出登录</a></li>
    </ul>
</div>
